You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
739 B

  1. import { Metadata } from "next";
  2. import { I18nProvider, getServerI18n } from "@/i18n";
  3. import Add from "@mui/icons-material/Add";
  4. import Button from "@mui/material/Button";
  5. import Stack from "@mui/material/Stack";
  6. import Typography from "@mui/material/Typography";
  7. import Link from "next/link";
  8. import CreateInvoice from "@/components/CreateInvoice_forGen";
  9. export const metadata: Metadata = {
  10. title: "Create Invoice",
  11. };
  12. const Invoice: React.FC = async () => {
  13. const { t } = await getServerI18n("Create Invoice");
  14. return (
  15. <>
  16. <Typography variant="h4">{t("Create Invoice")}</Typography>
  17. <I18nProvider namespaces={["invoice"]}>
  18. <CreateInvoice />
  19. </I18nProvider>
  20. </>
  21. )
  22. };
  23. export default Invoice;